package com.yq.light.feedback.code.dao;

import com.yq.light.commons.code.entity.Feedback;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FeedbackDao {

    /**
     * select feedback list
     * @return
     */
    public List<Feedback> feedbackList();

    /**
     * 新建反馈
     * @param feedback
     * @return
     */
    public int newFeedback(Feedback feedback);
}
